<!-- HTML header for doxygen 1.9.6-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.6"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>COMMONS-NET: commonsNet.ProtocolCommandEvent类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
  $(document).ready(function() { init_search(); });
/* @license-end */
</script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">COMMONS-NET
   </div>
  </td>
    <td>        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <span id="MSearchSelect"                onmouseover="return searchBox.OnSearchSelectShow()"                onmouseout="return searchBox.OnSearchSelectHide()">&#160;</span>
          <input type="text" id="MSearchField" value="" placeholder="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.svg" alt=""/></a>
          </span>
        </div>
</td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.6 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('classcommonsNet_1_1ProtocolCommandEvent.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">载入中...</div>
<div class="SRStatus" id="Searching">搜索中...</div>
<div class="SRStatus" id="NoMatches">未找到</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcommonsNet_1_1ProtocolCommandEvent-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">commonsNet.ProtocolCommandEvent类 参考</div></div>
</div><!--header-->
<div class="contents">

<p>包含发送的命令或者收到的回复的详细信息的事件类  
 <a href="classcommonsNet_1_1ProtocolCommandEvent.html#details">更多...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a6b0766b8db3966b5ba979af9b5d353e2"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a6b0766b8db3966b5ba979af9b5d353e2">init</a> (replyCode: Int64, reply: ?String)</td></tr>
<tr class="memdesc:a6b0766b8db3966b5ba979af9b5d353e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个回复事件信息实例  <br /></td></tr>
<tr class="separator:a6b0766b8db3966b5ba979af9b5d353e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e54484ec503ded01b6a5cd38959ad66"><td class="memItemLeft" align="right" valign="top">public&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a8e54484ec503ded01b6a5cd38959ad66">init</a> (command: ?String, message: ?String)</td></tr>
<tr class="memdesc:a8e54484ec503ded01b6a5cd38959ad66"><td class="mdescLeft">&#160;</td><td class="mdescRight">构造一个命令发送事件信息实例  <br /></td></tr>
<tr class="separator:a8e54484ec503ded01b6a5cd38959ad66"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6d0b14231cd5eb9aff8920c1103c0b7f"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a6d0b14231cd5eb9aff8920c1103c0b7f">message</a> : String</td></tr>
<tr class="memdesc:a6d0b14231cd5eb9aff8920c1103c0b7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取收到的或发送的完整消息  <br /></td></tr>
<tr class="separator:a6d0b14231cd5eb9aff8920c1103c0b7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c1a4200be5eba284e2281a19a101fd4"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a3c1a4200be5eba284e2281a19a101fd4">command</a> : String</td></tr>
<tr class="memdesc:a3c1a4200be5eba284e2281a19a101fd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取命令名称  <br /></td></tr>
<tr class="separator:a3c1a4200be5eba284e2281a19a101fd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3ecf1f78192c8ca31a796f3e389a2c1"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#ae3ecf1f78192c8ca31a796f3e389a2c1">isCommand</a> : Bool</td></tr>
<tr class="memdesc:ae3ecf1f78192c8ca31a796f3e389a2c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否为发送的命令  <br /></td></tr>
<tr class="separator:ae3ecf1f78192c8ca31a796f3e389a2c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1ae5a090e078c3f931460db1573a381"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#ae1ae5a090e078c3f931460db1573a381">isReply</a> : Bool</td></tr>
<tr class="memdesc:ae1ae5a090e078c3f931460db1573a381"><td class="mdescLeft">&#160;</td><td class="mdescRight">是否为收到的回复  <br /></td></tr>
<tr class="separator:ae1ae5a090e078c3f931460db1573a381"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0b28eb828570c46bd2a61bfde1172846"><td class="memItemLeft" align="right" valign="top">public prop&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a0b28eb828570c46bd2a61bfde1172846">replyCode</a> : Int64</td></tr>
<tr class="memdesc:a0b28eb828570c46bd2a61bfde1172846"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取回复代码  <br /></td></tr>
<tr class="separator:a0b28eb828570c46bd2a61bfde1172846"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:af6fbf608b6e8bb7088c715955bc4d91a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#af6fbf608b6e8bb7088c715955bc4d91a">let _replyCode</a> : Int64</td></tr>
<tr class="separator:af6fbf608b6e8bb7088c715955bc4d91a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c3d55b39e296f2e196a501b1088df76"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a0c3d55b39e296f2e196a501b1088df76">let _isCommand</a> : Bool</td></tr>
<tr class="separator:a0c3d55b39e296f2e196a501b1088df76"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40eaea193aa6b6397fd819662d5dcac2"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a40eaea193aa6b6397fd819662d5dcac2">let _message</a> : ?String</td></tr>
<tr class="separator:a40eaea193aa6b6397fd819662d5dcac2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2075173c81f0bf29a6872dae103ad3cb"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a2075173c81f0bf29a6872dae103ad3cb">let _command</a> : ?String</td></tr>
<tr class="separator:a2075173c81f0bf29a6872dae103ad3cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>包含发送的命令或者收到的回复的详细信息的事件类 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a6b0766b8db3966b5ba979af9b5d353e2" name="a6b0766b8db3966b5ba979af9b5d353e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6b0766b8db3966b5ba979af9b5d353e2">&#9670;&#160;</a></span>init() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ProtocolCommandEvent.init </td>
          <td>(</td>
          <td class="paramname"><em><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a0b28eb828570c46bd2a61bfde1172846">replyCode</a></em>:&#160;</td>
          <td class="paramtype">Int64, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em>reply</em>:&#160;</td>
          <td class="paramtype">?String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个回复事件信息实例 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">replyCode</td><td>从回复中提取的代码 </td></tr>
    <tr><td class="paramname">reply</td><td>完整的回复文本 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a8e54484ec503ded01b6a5cd38959ad66" name="a8e54484ec503ded01b6a5cd38959ad66"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e54484ec503ded01b6a5cd38959ad66">&#9670;&#160;</a></span>init() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public commonsNet.ProtocolCommandEvent.init </td>
          <td>(</td>
          <td class="paramname"><em><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a3c1a4200be5eba284e2281a19a101fd4">command</a></em>:&#160;</td>
          <td class="paramtype">?String, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramname"><em><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html#a6d0b14231cd5eb9aff8920c1103c0b7f">message</a></em>:&#160;</td>
          <td class="paramtype">?String&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>构造一个命令发送事件信息实例 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">command</td><td>命令名称 </td></tr>
    <tr><td class="paramname">message</td><td>完整的消息，包含命令名称 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="a3c1a4200be5eba284e2281a19a101fd4" name="a3c1a4200be5eba284e2281a19a101fd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c1a4200be5eba284e2281a19a101fd4">&#9670;&#160;</a></span>command()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public prop commonsNet.ProtocolCommandEvent.command</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取命令名称 </p>

</div>
</div>
<a id="ae3ecf1f78192c8ca31a796f3e389a2c1" name="ae3ecf1f78192c8ca31a796f3e389a2c1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3ecf1f78192c8ca31a796f3e389a2c1">&#9670;&#160;</a></span>isCommand()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public prop commonsNet.ProtocolCommandEvent.isCommand</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>是否为发送的命令 </p>

</div>
</div>
<a id="ae1ae5a090e078c3f931460db1573a381" name="ae1ae5a090e078c3f931460db1573a381"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae1ae5a090e078c3f931460db1573a381">&#9670;&#160;</a></span>isReply()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public prop commonsNet.ProtocolCommandEvent.isReply</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>是否为收到的回复 </p>

</div>
</div>
<a id="a6d0b14231cd5eb9aff8920c1103c0b7f" name="a6d0b14231cd5eb9aff8920c1103c0b7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6d0b14231cd5eb9aff8920c1103c0b7f">&#9670;&#160;</a></span>message()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public prop commonsNet.ProtocolCommandEvent.message</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取收到的或发送的完整消息 </p>

</div>
</div>
<a id="a0b28eb828570c46bd2a61bfde1172846" name="a0b28eb828570c46bd2a61bfde1172846"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0b28eb828570c46bd2a61bfde1172846">&#9670;&#160;</a></span>replyCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">public prop commonsNet.ProtocolCommandEvent.replyCode</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>获取回复代码 </p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a2075173c81f0bf29a6872dae103ad3cb" name="a2075173c81f0bf29a6872dae103ad3cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2075173c81f0bf29a6872dae103ad3cb">&#9670;&#160;</a></span>let _command</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ProtocolCommandEvent.let _command : ?String</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a0c3d55b39e296f2e196a501b1088df76" name="a0c3d55b39e296f2e196a501b1088df76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c3d55b39e296f2e196a501b1088df76">&#9670;&#160;</a></span>let _isCommand</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ProtocolCommandEvent.let _isCommand : Bool</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a40eaea193aa6b6397fd819662d5dcac2" name="a40eaea193aa6b6397fd819662d5dcac2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40eaea193aa6b6397fd819662d5dcac2">&#9670;&#160;</a></span>let _message</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ProtocolCommandEvent.let _message : ?String</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="af6fbf608b6e8bb7088c715955bc4d91a" name="af6fbf608b6e8bb7088c715955bc4d91a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af6fbf608b6e8bb7088c715955bc4d91a">&#9670;&#160;</a></span>let _replyCode</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">commonsNet.ProtocolCommandEvent.let _replyCode : Int64</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>src/<a class="el" href="protocol__command__support_8cj.html">protocol_command_support.cj</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.9.6-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="namespacecommonsNet.html">commonsNet</a></li><li class="navelem"><a class="el" href="classcommonsNet_1_1ProtocolCommandEvent.html">ProtocolCommandEvent</a></li>
    <li class="footer">制作者 <img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
  </ul>
</div>
</body>
</html>
